source/riverd/loader.d(92,10): Error: cast from `const(void*)` to `void*` not allowed in safe code source/riverd/loader.d(127,11): Error: `@safe` function `riverd.loader.dylib_sysError` cannot call `@system` function `core.stdc.string.strncpy` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/string.d(87,8): `core.stdc.string.strncpy` is declared here source/riverd/loader.d(128,7): Error: safe function `riverd.loader.dylib_sysError` cannot index pointer `buf` source/riverd/loader.d(271,28): Error: `@safe` function `riverd.loader.Dylib.load` cannot call `@system` function `std.conv.to!string.to!(char*).to` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(219,7): `std.conv.to!string.to!(char*).to` is declared here source/riverd/loader.d(331,26): Error: `@safe` function `riverd.loader.Dylib.missingSymbolCallback` cannot call `@system` function `std.functional.toDelegate!(bool function(string)).toDelegate` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/functional.d(1643,6): `std.functional.toDelegate!(bool function(string)).toDelegate` is declared here source/riverd/loader.d(426,4): Error: cast from `void*` to `riverd.loader.DylibLoader` not allowed in safe code source/riverd/loader.d(433,15): Error: cast from `void*` to `riverd.loader.DylibLoader` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.